import request from '@/utils/request'

// 列表page
export function getList(form, pageSize, currentPage) {
  const data = {
    param: form,
    pageSize: pageSize,
    pageNo: currentPage
  }
  return request.post('/sq/xsck/page', data)
}
// 详情
export function detailById(id) {
  return request.get(`/sq/xsck/detail/${id}`)
}
// 保存
export function save(params) {
  return request.put(`/sq/xsck/qr`, params)
}
// 审核
export function appval(params) {
  return request.post(`/sq/audit/auditSp`, params)
}
